<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList,edu.ues21.tcs.ecommerce2011.mvc.model.Articulo"%>
<%@page import="java.util.ArrayList,edu.ues21.tcs.ecommerce2011.mvc.model.Marca"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="resultado" scope="request" type="java.util.ArrayList"></jsp:useBean>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Resultado busqueda</title>
    </head>
    <body>
        <table>
            <tr>
                <th>Nombre</th>
                <th>Id</th>
                <th>Propiedades</th>
                <th>Marca</th>
            </tr>
        <c:forEach var="art" items="${resultado}">
            <tr>
                <td>${art.nombre}</td>
                <td>${art.idarticulo}</td>
            	<td>${art.propiedades}</td>
            	<td>${art.marca.nombre}</td>
					
            </tr>
        </c:forEach>
        </table>
        

    </body>
</html>